* {
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-ul {
  display: flex;
}

.first-ul > li {
  padding: 6px 10px;
  border: 1px solid #ccc;
  position: relative;
}

.first-ul > li:hover > .second-ul {
  display: block;
}


.second-ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.title {
  display: flex;
}

.title-nav {
  width: 60px;
  text-align: center;
}

.title-nav.active {
  color: red;
}